package Common.Entities;

import java.io.Serializable;
import java.sql.Date;

/**
 * This class is for the information of the customer reaction
 * @author Oz Mouchtar
 *
 */
public class CustomerResponse implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int responseID;
	private String customerID;
	private String saleID;
	private String responseType;
	private String responseRefusalDescription;
	private Date responseDate;
	private int productID;
	private String responseDuration;
	
	/**
	 * @param responseID
	 * @param customerID
	 * @param saleID
	 * @param responseType
	 * @param responseRefusalDescription
	 * @param productID
	 * @param responseDuration
	 */
	public CustomerResponse(int responseID, String customerID,
			String saleID, String responseType, String responseRefusalDescription, int productID ,String responseDuration) {
		super();
		this.responseID = responseID;
		this.customerID = customerID;
		this.saleID = saleID;
		this.responseType = responseType;
		this.responseRefusalDescription = responseRefusalDescription;
		java.util.Date today = new java.util.Date();
		this.responseDate = new Date(today.getTime());
		this.productID = productID;
		this.responseDuration=responseDuration;
	}

	public String getResponseDuration(){
		return responseDuration;
	}
	public void setResponseDuration(String responseDuration ) {
		this.responseDuration = responseDuration;
	}
	
	/**
	 * @return the responseID
	 */
	public int getResponseID() {
		return responseID;
	}
	/**
	 * @param responseID the responseID to set
	 */
	public void setResponseID(int responseID) {
		this.responseID = responseID;
	}
	/**
	 * @return the customerID
	 */
	public String getCustomerID() {
		return customerID;
	}
	/**
	 * @param customerID the customerID to set
	 */
	public void setCustomerID(String customerID) {
		this.customerID = customerID;
	}
	/**
	 * @return the responseType
	 */
	public String getResponseType() {
		return responseType;
	}
	/**
	 * @param responseType the responseType to set
	 */
	public void setResponseType(String responseType) {
		this.responseType = responseType;
	}
	/**
	 * @return the responseRefusalDescription
	 */
	public String getResponseRefusalDescription() {
		return responseRefusalDescription;
	}
	/**
	 * @param responseRefusalDescription the responseRefusalDescription to set
	 */
	public void setResponseRefusalDescription(String responseRefusalDescription) {
		this.responseRefusalDescription = responseRefusalDescription;
	}
	/**
	 * @return the responseDate
	 */
	public Date getResponseDate() {
		return responseDate;
	}
	/**
	 * @param responseDate the responseDate to set
	 */
	public void setResponseDate(Date responseDate) {
		this.responseDate = responseDate;
	}
	/**
	 * @return the customerSaleCartID
	 */
	public int getProductID() {
		return productID;
	}
	/**
	 * @param productID the productID to set
	 */
	public void setproductID(int productID) {
		this.productID = productID;
	}

	/**
	 * @return the saleID
	 */
	public String getSaleID() {
		return saleID;
	}

	/**
	 * @param saleID the saleID to set
	 */
	public void setSaleID(String saleID) {
		this.saleID = saleID;
	}
	

}
